package com.jfs.qy.chain;

import com.jfs.qy.chain.component.*;

import java.net.URISyntaxException;
import java.security.KeyManagementException;
import java.security.KeyStoreException;
import java.security.NoSuchAlgorithmException;
import java.util.concurrent.CountDownLatch;

/**
 * @Description 服务启动nvr流程责任链抽象类
 * 构建流程 :
 *{@linkplain LoginComponent#handlerOperation()} 执行登录  ->
 *{@linkplain HeartbeatComponent#handlerOperation()} 执行定时发送心跳  ->
 *{@linkplain SystemInfoComponent#handlerOperation()} 执行定时查询系统详情  ->
 *{@linkplain SystemIpcListInfoComponent#handlerOperation()}定时执行查询ipc列表详情  ->
 *{@linkplain AlarmEventComponent#handlerOperation()} 执行定时差查询告警事件  ->
 *{@linkplain ProcessAlarmEventComponent#handlerOperation()} 从阻塞队列中取出告警事件 生成告警视频 和告警封面图推送到云端消息中间件中  ->
 * @E-mail cwm3412638@163.com
 * @Author cwm
 * @Date 2022/11/4
 */
public abstract class AbstractServerStartHandler {

    /**
     * 处理操作
     */
    public abstract void handlerOperation() throws URISyntaxException, NoSuchAlgorithmException, KeyStoreException, KeyManagementException;
}
